package cn.ac.jaas.isc.vegetable.pbms.service;

import cn.ac.jaas.isc.vegetable.common.core.util.R;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.ac.jaas.isc.vegetable.pbms.api.entity.ArcDevice;

import javax.servlet.http.HttpServletRequest;

/**
 * 装置表
 *
 * @author 张高昌
 * @date 2022-05-22 19:51:08
 */
public interface ArcDeviceService extends IService<ArcDevice> {

    /**
     * 新增装置
     *
     * @param arcDevice
     * @param request
     * @return
     */
    R saveDevice(ArcDevice arcDevice, HttpServletRequest request);

    /**
     * 修改装置
     *
     * @param arcDevice
     * @param request
     * @return
     */
    R updateDevice(ArcDevice arcDevice, HttpServletRequest request);

}
